﻿using System;
using System.Collections.Generic;
using System.Text;

namespace InfoPathHelpers.XmlGeneration
{
    public class AttributeDefinition : NodeDefinition
    {
        public AttributeDefinition(string localName, string defaultValue, bool isNillable, AttributeDataTypes type)
        {
            base.LocalName = localName;
            DefaultValue = defaultValue;
            IsNillable = isNillable;
            Type = type;
        }

        public virtual string DefaultValue { get; set; }
        public virtual bool IsNillable { get; set; }
        public AttributeDataTypes Type { get; set; }
        
    }
}
